package com.neusoft.neu24.nep.role.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;


import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统功能节点树
 * </p>
 *
 * @author 段静迪，duanjingdi@163.com
 * @since 2024-06-06
 */
@Getter
@Setter
@TableName("sysnode")
@Data

public class Sysnode implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField("title")
    private String title;


    @TableField("pid")
    private Integer pid;


    @TableField("path")
    private String path;

    @TableField("remark")
    private String remark;

    @TableField("state")
    private Integer state;
//children 列在数据库中不存在
    @TableField(exist = false)
    private List<Sysnode> children;
}
